<?php

/* 用户资金交易 */
class UsermoneyModel extends BaseModel
{
	var $table  = 'user_money';
	var $prikey = 'money_id';
	var $_name  = 'user_money';
	
	function get_info_by_user_id($user_id)
	{

		$sql = "SELECT * FROM {$this->table} WHERE user_id  = '{$user_id}' ";
		$row = $this->db->getRow($sql);
		return $row;
	}

}

?>